#!/usr/bin/env python
# -*- encoding: utf-8 -*-
'''
@File    :   ai-phatform.py    
@Contact :   fengfeng.qiu@amh-group.com

@Modify Time      @Author    
------------      -------    
2022/2/16 9:55   qiufengfeng      
'''
from locust import HttpUser,task,between
import json


class HelloWorldUser(HttpUser):
    wait_time = between(0.5, 1)
    host = "http://127.0.0.1:8081/"
    @task
    def hello_word(self):
        result = self.client.get("smart-demo/yacechaoshi")
        #if result.json()